﻿using System.Collections.Generic;
using System.Collections.ObjectModel;
using Mal.Balades.Admin.Services;

namespace Mal.Balades.Admin.AdminWebService
{
    public partial class FeedAdmin : IFeed
    {
        public static ReadOnlyCollection<IFeed> Convert(List<FeedAdmin> source)
        {
            List<IFeed> results = new List<IFeed>();

            foreach (FeedAdmin item in source)
            {
                results.Add(item);
            }

            return new ReadOnlyCollection<IFeed>(results);
        }
    }
}
